package com.alinesno.cloud.busines.demo.entity;
import com.alinesno.sdk.generator.table.annotation.ColumnComment;
import com.alinesno.sdk.generator.table.annotation.ColumnType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alinesno.cloud.common.facade.mapper.entity.BaseEntity;

/**
 * 功能名： 学院
 * 数据表：  learn_college
 * 表备注： 学院表
 * @author wh ${authorEmail}
 * @date 2021-09-06 22:52:32
 */
@TableName("learn_college")
public class LearnCollegeEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;
    // fields
    @ColumnComment("collegeName")
    @Excel(name="collegeName")
    @ColumnType(length = 255)
    @TableField("college_name")
    private String collegeName;
    @ColumnComment("collegeNumber")
    @Excel(name="collegeNumber")
    @ColumnType(length = 0)
    @TableField("college_number")
    private Long collegeNumber;
    //getter and setter
    public String getCollegeName(){
        return this.collegeName;
    }
    public LearnCollegeEntity setCollegeName(String arg){
        this.collegeName = arg;
        return this;
    }
    public Long getCollegeNumber(){
        return this.collegeNumber;
    }
    public LearnCollegeEntity setCollegeNumber(Long arg){
        this.collegeNumber = arg;
        return this;
    }
}
